package com.audaque.springboot.foshanupload.web.raspcloud.rsp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 后台菜单表
 * </p>
 *
 * @author chinaben
 * @since 2025-07-03
 */
@Data
@Getter
@Setter
@Schema(name = "MenuRsp", description = "后台菜单表")
public class MenuRsp implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @Schema(description = "父级ID")
    private Long parentId;


    @Schema(description = "名称")
    private String name;


    @Schema(description = "级数")
    private Integer level;


    @Schema(description = "排序")
    private Integer sort;


    @Schema(description = "路由名称")
    private String routerUrl;


    @Schema(description = "图标名称")
    private String iconName;


}
